package com.car.advertising.activity;

import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

import com.car.advertising.R;
import com.support.widget.layout.BaseToolBarActivity;
import com.support.widget.util.ToastUtil;

public class FeedbackActivity extends BaseToolBarActivity {

    private EditText feedbackEt;

    @Override
    protected void initToolBar() {
        setTitleClickable(false);
        setSubtitleClickable(true);
        setToolBarBackgroundColor(R.color.color_white);
        setToolBarTitle("意见反馈");
        setToolBarTitleColor(R.color.black_bg);
    }

    @Override
    protected void initView() {
        setContentView(R.layout.activity_feedback);
        feedbackEt = (EditText) findViewById(R.id.feed_back_et);
        findViewById(R.id.update_password_hint_tv).setVisibility(View.GONE);
        TextView commitTv = (TextView) findViewById(R.id.update_commit_tv);
        commitTv.setOnClickListener(this);
    }

    @Override
    public String getCN() {
        return null;
    }

    @Override
    public void LogoutCallback(boolean islogin) {

    }

    @Override
    public void onCritClick(View v) {
        switch (v.getId()) {
            case R.id.update_commit_tv:
                ToastUtil.show(FeedbackActivity.this, "提出意见", Toast.LENGTH_SHORT);
                break;
            default:
                break;
        }
    }

    @Override
    protected boolean isClickable() {
        return false;
    }

    @Override
    protected void subtitleClick() {

    }

    @Override
    protected void titleClick() {

    }

    @Override
    protected void rightClick() {

    }


}
